﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
using WXTest2.Controllers;
using WXPackage;

namespace WXTest2
{
    public class MvcApplication : System.Web.HttpApplication
    {
        protected void Application_Start()
        {
            AreaRegistration.RegisterAllAreas();
            RouteConfig.RegisterRoutes(RouteTable.Routes);

            //添加测试账号
            ConfigInfo.AddTest();
            //AccessTokenManage.AccessToken =
            //    "n00QUxpSy0R1k2TgpKMbd50bk6Z4Z_SOktKkkEPZUaCKdrli-ZGHjwgmjvNlQr17u_xhgSugGMDdEkzCPHsJTJkmdy9Q8-Q5kHkE_Kzn06wPHCbACAGYT";
            //AccessTokenManage.Jsapi_Ticket = "sM4AOVdWfPE4DxkXGEs8VO4LRwyjfHNYijoH8h3KFuC7l8rGt0U2LlTU--ij-3acO3J01vO2Cd-S1fH74bvRUg";


            AccessTokenManage.Run();
        }
    }
}
